<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-y_no" class="form-control" name="row[y_no]" type="number" value="{$row.y_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-y_uid" class="form-control" name="row[y_uid]" type="number" value="{$row.y_uid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-y_user" class="form-control" name="row[y_user]" type="text" value="{$row.y_user}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y_maketime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-y_maketime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[y_maketime]" type="text" value="{$row.y_maketime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Y_use')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-y_use" class="form-control selectpicker" name="row[y_use]">
                {foreach name="yUseList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.y_use"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
